package com.yiban.demo.Order.Entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
//防止冲突用``引起，不是单引号
@TableName("`order`")
public class OrderPO {
    @TableId(type = IdType.NONE)
    private Long orderId;
    private String receiverName;
    private String phone;
    private String deliveryAddress;
    private Date startTime;
    private Date deliveryStartTime;
    private Date endTime;
    private String deliveryDeviceId;
    private Integer stationId;
    private String packagePos;

    private Integer status;
    private Integer userId;
}
